Optimal. Leaf size=85 \[ \frac {A b^2 \sqrt {b \cos (c+d x)} \sin (c+d x)}{3 d \cos ^{\frac {7}{2}}(c+d x)}+\frac {b^2 (2 A+3 C) \sqrt {b \cos (c+d x)} \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.114, Rules used = {17, 3091, 3852,
8} \begin {gather*} \frac {b^2 (2 A+3 C) \sin (c+d x) \sqrt {b \cos (c+d x)}}{3 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {A b^2 \sin (c+d x) \sqrt {b \cos (c+d x)}}{3 d \cos ^{\frac {7}{2}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 17
Rule 3091
Rule 3852
Rubi steps
\begin {align*} \int \frac {(b \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {13}{2}}(c+d x)} \, dx &=\frac {\left (b^2 \sqrt {b \cos (c+d x)}\right ) \int \left (A+C \cos ^2(c+d x)\right ) \sec ^4(c+d x) \, dx}{\sqrt {\cos (c+d x)}}\\ &=\frac {A b^2 \sqrt {b \cos (c+d x)} \sin (c+d x)}{3 d \cos ^{\frac {7}{2}}(c+d x)}+\frac {\left (b^2 (2 A+3 C) \sqrt {b \cos (c+d x)}\right ) \int \sec ^2(c+d x) \, dx}{3 \sqrt {\cos (c+d x)}}\\ &=\frac {A b^2 \sqrt {b \cos (c+d x)} \sin (c+d x)}{3 d \cos ^{\frac {7}{2}}(c+d x)}-\frac {\left (b^2 (2 A+3 C) \sqrt {b \cos (c+d x)}\right ) \text {Subst}(\int 1 \, dx,x,-\tan (c+d x))}{3 d \sqrt {\cos (c+d x)}}\\ &=\frac {A b^2 \sqrt {b \cos (c+d x)} \sin (c+d x)}{3 d \cos ^{\frac {7}{2}}(c+d x)}+\frac {b^2 (2 A+3 C) \sqrt {b \cos (c+d x)} \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.26, size = 51, normalized size = 0.60 \begin {gather*} \frac {(b \cos (c+d x))^{5/2} \sin (c+d x) \left (3 (A+C)+A \tan ^2(c+d x)\right )}{3 d \cos ^{\frac {7}{2}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.25, size = 54, normalized size = 0.64
method | result | size |
default | \(\frac {\left (2 A \left (\cos ^{2}\left (d x +c \right )\right )+3 C \left (\cos ^{2}\left (d x +c \right )\right )+A \right ) \sin \left (d x +c \right ) \left (b \cos \left (d x +c \right )\right )^{\frac {5}{2}}}{3 d \cos \left (d x +c \right )^{\frac {11}{2}}}\) | \(54\) |
risch | \(\frac {2 i b^{2} \sqrt {b \cos \left (d x +c \right )}\, \left (3 C \,{\mathrm e}^{4 i \left (d x +c \right )}+6 A \,{\mathrm e}^{2 i \left (d x +c \right )}+6 C \,{\mathrm e}^{2 i \left (d x +c \right )}+2 A +3 C \right )}{3 \sqrt {\cos \left (d x +c \right )}\, d \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right )^{3}}\) | \(84\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 367 vs.
\(2 (73) = 146\).
time = 0.64, size = 367, normalized size = 4.32 \begin {gather*} \frac {2 \, {\left (\frac {3 \, C b^{\frac {5}{2}} \sin \left (2 \, d x + 2 \, c\right )}{\cos \left (2 \, d x + 2 \, c\right )^{2} + \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, \cos \left (2 \, d x + 2 \, c\right ) + 1} - \frac {2 \, {\left (3 \, b^{2} \cos \left (6 \, d x + 6 \, c\right ) \sin \left (2 \, d x + 2 \, c\right ) + 9 \, b^{2} \cos \left (4 \, d x + 4 \, c\right ) \sin \left (2 \, d x + 2 \, c\right ) - {\left (3 \, b^{2} \cos \left (2 \, d x + 2 \, c\right ) + b^{2}\right )} \sin \left (6 \, d x + 6 \, c\right ) - 3 \, {\left (3 \, b^{2} \cos \left (2 \, d x + 2 \, c\right ) + b^{2}\right )} \sin \left (4 \, d x + 4 \, c\right )\right )} A \sqrt {b}}{2 \, {\left (3 \, \cos \left (4 \, d x + 4 \, c\right ) + 3 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )} \cos \left (6 \, d x + 6 \, c\right ) + \cos \left (6 \, d x + 6 \, c\right )^{2} + 6 \, {\left (3 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )} \cos \left (4 \, d x + 4 \, c\right ) + 9 \, \cos \left (4 \, d x + 4 \, c\right )^{2} + 9 \, \cos \left (2 \, d x + 2 \, c\right )^{2} + 6 \, {\left (\sin \left (4 \, d x + 4 \, c\right ) + \sin \left (2 \, d x + 2 \, c\right )\right )} \sin \left (6 \, d x + 6 \, c\right ) + \sin \left (6 \, d x + 6 \, c\right )^{2} + 9 \, \sin \left (4 \, d x + 4 \, c\right )^{2} + 18 \, \sin \left (4 \, d x + 4 \, c\right ) \sin \left (2 \, d x + 2 \, c\right ) + 9 \, \sin \left (2 \, d x + 2 \, c\right )^{2} + 6 \, \cos \left (2 \, d x + 2 \, c\right ) + 1}\right )}}{3 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 54, normalized size = 0.64 \begin {gather*} \frac {{\left ({\left (2 \, A + 3 \, C\right )} b^{2} \cos \left (d x + c\right )^{2} + A b^{2}\right )} \sqrt {b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{3 \, d \cos \left (d x + c\right )^{\frac {7}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.36, size = 220, normalized size = 2.59 \begin {gather*} \frac {b^2\,\sqrt {b\,\cos \left (c+d\,x\right )}\,\left (18\,A\,\sin \left (2\,c+2\,d\,x\right )+12\,A\,\sin \left (4\,c+4\,d\,x\right )+2\,A\,\sin \left (6\,c+6\,d\,x\right )+15\,C\,\sin \left (2\,c+2\,d\,x\right )+12\,C\,\sin \left (4\,c+4\,d\,x\right )+3\,C\,\sin \left (6\,c+6\,d\,x\right )+A\,20{}\mathrm {i}+C\,30{}\mathrm {i}+A\,\cos \left (2\,c+2\,d\,x\right )\,30{}\mathrm {i}+A\,\cos \left (4\,c+4\,d\,x\right )\,12{}\mathrm {i}+A\,\cos \left (6\,c+6\,d\,x\right )\,2{}\mathrm {i}+C\,\cos \left (2\,c+2\,d\,x\right )\,45{}\mathrm {i}+C\,\cos \left (4\,c+4\,d\,x\right )\,18{}\mathrm {i}+C\,\cos \left (6\,c+6\,d\,x\right )\,3{}\mathrm {i}\right )}{3\,d\,\sqrt {\cos \left (c+d\,x\right )}\,\left (15\,\cos \left (2\,c+2\,d\,x\right )+6\,\cos \left (4\,c+4\,d\,x\right )+\cos \left (6\,c+6\,d\,x\right )+10\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________